// 订单类型
export function getActivityTypeCode(params) {
  let activityTypeCode = ''
  switch (params) {
    case 0:
      activityTypeCode = '普通订单'
      break
    case 1:
      activityTypeCode = '砍价订单'
      break
    case 2:
      activityTypeCode = '拼团订单'
      break
    default:
      activityTypeCode = ''
  }
  return activityTypeCode
}

// 订单状态
export function getOrderStatus(params) {
  let orderStatus = ''
  switch (params) {
    case '3':
      orderStatus = "待付款"
      break;
    case '4':
      orderStatus = "待发货"
      break;
    case '5':
      orderStatus = "待收货"
      break;
    case '6':
      orderStatus = "待分享"
      break;
    case '9':
      orderStatus = "交易成功"
      break;
    case '0':
      orderStatus = "交易关闭"
      break;
    default:
      orderStatus = "-"
  }
  return orderStatus
}
// 结算状态
export function getCommissionStatus(params) {
  let commissionStatus = ''
  switch (params) {
    case 0:
      commissionStatus = "未结算"
      break;
    case 1:
      commissionStatus = "已结算"
      break;
    default:
      commissionStatus = ""
  }
  return commissionStatus
}